package oi;

import java.io.FileNotFoundException;
import java.io.PrintWriter;

public class PW {
    public static void main(String[] args) {
        try(PrintWriter pw = new PrintWriter("pw.txt");) {
            pw.println("小老狗");
            pw.println("老狗子");
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }
    }
}
